<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>定时任务</title>
</head>
<style type="text/css">
  body {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
  }

  h1 {
    text-align: center;
    color: #333;
  }

  form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  label, input, textarea {
    display: block;
    margin-bottom: 10px;
  }

  input, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }

  textarea {
    height: 300px;
  }

  input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
  }

  input[type="submit"]:hover {
    background-color: #0056b3;
  }
  select {
    padding: 5px;
    width: 200px;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
  }
</style>
<body>
<form th:action="@{/emailTiming}" method="post">
  <label>收件人：</label>
  <input type="text" name="emailname" placeholder="请输入邮箱">
  <label>主题：</label>
  <input type="text" name="title" placeholder="请输入标题">
  <label>消息：</label>
  <textarea type="text" name="text" placeholder="请输入内容(最大200字)"></textarea>
  <label>请选择星期：</label>
  <select name="week">
    <option value="0">请选择</option>
    <option value="1">星期一</option>
    <option value="2">星期二</option>
    <option value="3">星期三</option>
    <option value="4">星期四</option>
    <option value="5">星期五</option>
    <option value="6">星期六</option>
    <option value="7">星期日</option>
  </select>
  <label>请选择时间：</label>
  <input type="time" name="time" id="time">
  <input type="submit" value="确定" id="submit">
</form>
</body>
</html>